<?php

//自己定义的IP地理位置查询

class IpLocation {
	
	public function search($ip) {
		require_once("geoipcity.inc.php");
		require_once("common.php");
		
		$location = get_location_info($ip);
		
		return $location;
	}

}